how to uise switch statements in java tutorial